<div class="maskerElement" id="maskerElement" style="position: absolute; left: 0px; top: 0px; z-index: 1000; opacity: 0.6; width: 100%; height: 6000px; background-color: black; display: none;"></div>
<div class="formleft tan_p" style="display: none;" id="login_box">
	<div class="jiaru_c login"></div>
	<!--登录-->
	<h2>登录<span><a href="http://login.uthing.cn/register" name="fuceng-denglu-zhuce">立即注册></a></span></h2>
	<form  class="loginForm" method='post' id="loginForm">
		<input type="hidden" name="refer" id="reg_refer" value="" />
		<div class="forminput">
			<input id="login_info" name="login_info" class="valifytext" type="text" value="手机号/邮箱" placeholder="手机号/邮箱" AUTOCOMPLETE="OFF" />
			<span class="wrong left" style="display: none" id="user_msg">填写正确的邮箱格式</span>
			<span class="duihao" style="display: none"></span>
		</div>
		<div class="forminput">
			<input id="password" name="password" type="text" class="valifytext" value="请输入密码" placeholder="请输入密码" onfocus="if(this.value==defaultValue) {this.value='';this.type='password'}" onblur="if(!value) {value=defaultValue; this.type='text';}" />
			<span class="wrong left" style="display: none" id="pwd_msg">填写6-32个字符</span>
			<span class="duihao" style="display: none"></span>
		</div>
		<div class="regist_qie black">
			<a href="" name="fuceng-denglu-mima">忘记密码?</a>
		</div>
		<div class="formbtn"><input type="submit" value="登录" name="fuceng-denglu-tijiaodenglu"></div>
	</form>
	<!--登录end-->
	<!--合作登录-->
	<div class="hezuo">
		<div class="line_hezuo">
			<h4 class="tc">使用合作账号快速登录</h4></div>
		<div class="b_hezuo">
			<a href="javascript:;" id="qq_login" name="qq-denglu"><img style="float: left;" src="http://static.uthing.cn/images-2.1/login/qq.jpg">&nbsp;QQ</a>
			<a href="javascript:;" id="wb_login" name="weibo-denglu"><img style="float: left;" src="http://static.uthing.cn/images-2.1/login/weibo.jpg">&nbsp;微博</a>
			<a href="javascript:;" id="wx_login"><img style="float: left;" src="http://static.uthing.cn/images-2.1/login/weixin.jpg">&nbsp;微信</a>

		</div>
		<!--合作登录end-->
	</div>
</div>
<script type="text/javascript">
	$(function() {

				function checkLogin() {
					var isTrue = true;
					var login_info = $.trim($('#login_info').val());
					if(login_info == '' || login_info == $('#login_info').attr('defvalue')) {
						$("#user_msg").show();
						$("#user_msg").text("请填写手机号或邮箱");
						isTrue = false;
						return isTrue;
					}

					var password = $.trim($('#password').val());
					if(password == '' || password == $('#password').attr('defvalue')) {
						$("#pwd_msg").show();
						$("#pwd_msg").text("请填写密码");
						isTrue = false;
						return isTrue;
					}
					//return isTrue;
				}

				function is_email(email) {
					var pattern = /^(13[0-9]|15[0-9]|18[0-9])\d{8}$/;
					var reg = new RegExp(pattern);
					return reg.test(email);
				}

				function is_telphone(telphone) {
					var pattern = /^[_\.0-9a-z-]+@([0-9a-zv][0-9a-z-]+\.){1,4}[a-z]{2,3}$/i;
					var reg = new RegExp(pattern);
					return reg.test(telphone);
				}
</script>